#include <iostream>
#include <unistd.h>
#include <assert.h>
using namespace std;

int main()
{
    int pipefd[2] = {0};
    int n = pipe(pipefd);
    assert(n == 0);
    cout << "pipefd[0]:" << pipefd[0] << "," << "pipefd[1]:" << pipefd[1] << endl;
    return 0;
}
